/*
 * @Author: 王鹏 2911783749@qq.com
 * @Date: 2022-11-07 08:48:50
 * @LastEditors: 王鹏 2911783749@qq.com
 * @LastEditTime: 2022-11-08 16:35:55
 * @FilePath: \vue3Mixiu\code\src\main.ts
 * @Description: 
 */
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
// 引入图标
import { Money, InfoFilled,ArrowDown,Timer,Expand } from "@element-plus/icons-vue";
const app = createApp(App)  //Vue
const icons = {
    "Money":Money,
    "InfoFilled":InfoFilled,
    "Expand":Expand
}
for(const [key,value] of Object.entries(icons)){
    app.component(key,value)
}
// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'

// createApp(App).mount('#app')

app.use(router)
app.use(createPinia())
// app.use(ElementPlus)
app.mount('#app')
